//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurJRnRMzWgxY4CPvSQzfzL4jQ3ohzSzBztZVYKRUx8owaSh2XpRP7giDEYsYvMs9D5l788uHBpmYmX8i735ahHv-E2f_KNSYoqFt0YI31Dlc2-AWvKwqKlggd6zRRHkah5C1UvUjU8cGPwQNe6SacksPS9XaOxW5Kz6Z5dL55PSJdNcybrVfyKwW1nO_2MiLycWUsARRfpoCKGI6mNKtqNTO6bhsH7-_EHeDr0qMzg_s0AT1_ht1Gc4NV'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
